package com.ibeetl.admin.console.service.business;

import com.ibeetl.admin.console.dao.ScoreDetailDao;
import com.ibeetl.admin.console.dao.business.ScoreDetailsDao;
import com.ibeetl.admin.console.dao.business.ScoreRuleDao;
import com.ibeetl.admin.core.conf.PasswordConfig.PasswordEncryptService;
import com.ibeetl.admin.core.entity.ScoreDetail;
import com.ibeetl.admin.core.entity.business.ScoreDetails;
import com.ibeetl.admin.core.entity.business.ScoreRule;
import com.ibeetl.admin.core.file.FileService;
import com.ibeetl.admin.core.service.BaseService;
import com.ibeetl.admin.core.service.CoreDictService;
import com.ibeetl.admin.core.service.CorePlatformService;
import org.beetl.sql.core.engine.PageQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class ScoreDetailService extends BaseService<ScoreRule> {

	@Autowired
	ScoreDetailsDao scoreDetailsDao;

	/**
	 * 根据条件查询
	 *
	 * @param query
	 */
	public void queryByCondtion(PageQuery<ScoreDetails> query) {
		PageQuery<ScoreDetails> ret = scoreDetailsDao.queryByCondtion(query);
		queryListAfter(ret.getList());
	}


}
